import 'package:json_annotation/json_annotation.dart';

/// @Author lixiaobin
/// @Date 2023/12/11
/// @Description
part 'bank_card.g.dart';

@JsonSerializable(explicitToJson: true)
class BankCardModel {
  int? id;
  String? createTime;
  String? updateTime;
  String? userId;
  String? name;
  String? bankAccount;
  String? openingBank;
  String? idNumber;
  String? accountType;
  String? bankIcon;
  String? bankBackground;
  String? bankColor;

  ///---本地参数
  @JsonKey(includeFromJson: false, includeToJson: false)
  bool isSelect = false;

  static BankCardModel fromJson(Map<String, dynamic> srcJson) => _$BankCardModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$BankCardModelToJson(this);
}
